import request2 from '@/utils/requset2'

export function getVeh(pageindex,pagesize,V_model,V_licenseplate,V_drivere,V_company) {
  return request2({
    url: `/t-mS_Vehicles/vehicles?pageindex=${pageindex}&pagesize=${pagesize}&V_model=${V_model}&V_licenseplate=${V_licenseplate}&V_drivere=${V_drivere}&V_company=${V_company}`,
    method: 'get'
  })
} 

export function getCar(pageindex,pagesize,B_name,B_phone) {
  return request2({
    url: `/t-mS_cargoowner/car?pageindex=${pageindex}&pagesize=${pagesize}&B_name=${B_name}&B_phone=${B_phone}`,
    method: 'get'
  })
} 

//路线显示
export function getLine(pageindex,pagesize,LinName,PeopName,PeopPhone,PeopDds) {
  return request2({
    url: `/t-mS_Line/car?pageindex=${pageindex}&pagesize=${pagesize}&LinName=${LinName}&PeopName=${PeopName}&PeopPhone=${PeopPhone}&PeopDds=${PeopDds}`,
    method: 'get'
  })
} 

//外协单位显示
export function getcoo(pageindex,pagesize,CooName,CooPhone) {
  return request2({
    url: `/t-mS_coo/coo?pageindex=${pageindex}&pagesize=${pagesize}&CooName=${CooName}&CooPhone=${CooPhone}`,
    method: 'get'
  })
} 

//油费显示
export function getOil(pageindex,pagesize,Oilnumber,Oilpeop) {
  return request2({
    url: `/t-mS_Oil/oil?pageindex=${pageindex}&pagesize=${pagesize}&Oilnumber=${Oilnumber}&Oilpeop=${Oilpeop}`,
    method: 'get'
  })
} 

//油费显示
export function getRep(pageindex,pagesize,RepNumber,RepPeop) {
  return request2({
    url: `/t-mS_Rep/rep?pageindex=${pageindex}&pagesize=${pagesize}&RepNumber=${RepNumber}&RepPeop=${RepPeop}`,
    method: 'get'
  })
} 

//保养显示
export function getMai(pageindex,pagesize,MaiNumber,MaiPeop) {
  return request2({
    url: `/t-mS_Mai/mai?pageindex=${pageindex}&pagesize=${pagesize}&MaiNumber=${MaiNumber}&MaiPeop=${MaiPeop}`,
    method: 'get'
  })
} 

//违章显示
export function getVio(pageindex,pagesize,Viotitel,VioNumber) {
  return request2({
    url: `/t-mS_Vio/vio?pageindex=${pageindex}&pagesize=${pagesize}&Viotitel=${Viotitel}&VioNumber=${VioNumber}`,
    method: 'get'
  })
} 

//事故显示
export function getAcc(pageindex,pagesize,Acctitel,AccNumber) {
  return request2({
    url: `/t-mS_Acc/acc?pageindex=${pageindex}&pagesize=${pagesize}&Acctitel=${Acctitel}&AccNumber=${AccNumber}`,
    method: 'get'
  })
} 

//轮胎显示
export function getTry(pageindex,pagesize,TryNumber,Trypin,Trygui,TryPeop) {
  return request2({
    url: `/t-mS_Try/try?pageindex=${pageindex}&pagesize=${pagesize}&TryNumber=${TryNumber}&Trypin=${Trypin}&Trygui=${Trygui}&TryPeop=${TryPeop}`,
    method: 'get'
  })
} 

//费用显示
export function getCos(pageindex,pagesize,CosPeop,CosNumber) {
  return request2({
    url: `/t-mS_Cos/cos?pageindex=${pageindex}&pagesize=${pagesize}&CosPeop=${CosPeop}&CosNumber=${CosNumber}`,
    method: 'get'
  })
} 